<?php
$feed = file_get_contents("cd_catalog.xml");
$page = 0;
$limit =10;

/*
foreach(new LimitIterator(new SimpleXMLIterator($feed),0,$limit) as $person)
{
	print "$person->TITLE<br />";
	print "$person->ARTIST<br />";
}
*/
$s = new SimpleXMLIterator($feed);

foreach($s as $a){
	if(preg_match('/^[OB]/i',$a->TITLE)){
		print "$a->TITLE<br />";				
	}
}

?>